#include "ZConstant.h"

QString ZConstant::CONST_TITLE_WARNING;
QString ZConstant::CONST_TITLE_INFO;
QString ZConstant::CONST_TITLE_TIPS;
QString ZConstant::CONST_TITLE_NOTICE;

ZConstant *ZConstant::instance()
{
    static ZConstant obj;
    return &obj;
}

ZConstant::ZConstant()
{
    init();
}

void ZConstant::init()
{
    CONST_TITLE_WARNING = ZConstant::tr("Warning");
    CONST_TITLE_INFO = ZConstant::tr("Info");
    CONST_TITLE_TIPS = ZConstant::tr("Tips");
    CONST_TITLE_NOTICE = ZConstant::tr("Notice");
}
